@import 'antd/es/style/themes/default.less';
.list-box {
  position: relative;

  min-height: 200px;
}
.loading {
  font-size: 32px;

  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: @primary-color;
  background-color: rgba(255, 255, 255, .7);
}
.header-line {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;

  height: 32px;
}
.header-line-title {
  font-size: @font-size-base;
  font-weight: bold;

  color: @heading-color;
}

.secretary-box {
  margin-top: 16px;
}

.s-h-tr {
  line-height: 32px;

  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  .s-th {
    font-size: @font-size-base;
    font-weight: bold;

    width: 120px;

    color: @heading-color;
    &:first-child {
      padding-left: 8px;
    }
    &:last-child {
      flex: 1;

      width: auto;
      padding-right: 8px;
    }
  }
}

.s-tr {
  line-height: 32px;

  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  &:hover {
    background-color: @grey-3;
  }

  &.active {
    .s-td {
      color: #fff;
      background-color: @primary-color;
    }
  }

  .s-td {
    font-size: @font-size-base;

    width: 120px;
    min-height: 32px;

    cursor: pointer;

    color: @text-color;
    &:first-child {
      padding-left: 8px;
    }
    &:last-child {
      flex: 1;

      width: auto;
      padding-right: 8px;
    }
  }
}

.no-withdraw {
  .s-h-tr {
    .s-th {
      width: auto;
      flex: 1;
    }
  }
  .s-tr {
    .s-td {
      width: auto;
      flex: 1;
    }
  }
}

.footer {
  text-align: right;
  button + button {
    margin-left: 8px;
  }
}
